/**
 * @Description:
 * @Author: CHEHSHUANG
 * @Date: 2019/1/24
 */
import {basicUrl} from "../../../configs/DefaultConfig";
import httpUtils from "../../../commons/utils/FeatchUtils";

//查询有权限的组织机构
export const findAuthOrganizations = () => {
    return httpUtils.get(basicUrl+"/organization/getUserAuthorizedTreeEntities",{featureCode:null},false,true);
}
//查询有权限的公司
export const findAuthorizedCorporations = () => {
    return httpUtils.get(basicUrl+"/corporation/getUserAuthorizedEntities",{featureCode:null},false,true);
}
